package com.jiangyifen.vmw.sdk.command;

import com.jiangyifen.vmw.sdk.command.internal.AbstractApiCommand;

public class OriginateLocalDialplanCommand extends AbstractApiCommand {

	private String command = "originateLocalDialplan";

	private Long tenantId = null;
	private Integer absoluteTimeout = 0;
	private String src = "";
	private String srcGateway = "";
	private String srcAccessNumber = "";
	private String dialplanExten = "";
	private String dst = "";
	private String dstGateway = "";
	private String dstAccessNumber = "";
	private String userData = "";
	
	/**
	 * @param dialplanExten
	 * @param dst
	 * @param dstGateway
	 * @param dstAccessNumber
	 * @param dstAnnounceMediaUrl
	 */
	public OriginateLocalDialplanCommand(Long tenantId , Integer absoluteTimeout, String src, String srcGateway, String srcAccessNumber, String dialplanExten, String dst, String dstGateway, String dstAccessNumber, String userData){
		this.tenantId = tenantId;
		this.absoluteTimeout = absoluteTimeout;
		this.src = src;
        this.srcGateway = srcGateway;
        this.srcAccessNumber = srcAccessNumber;
		this.setDialplanExten(dialplanExten);
		this.dst = dst;
		this.dstGateway = dstGateway;
		this.dstAccessNumber = dstAccessNumber;
		this.userData = userData;
	}
	
	public String getCommand() {
		return command;
	}
	public void setCommand(String command) {
		this.command = command;
	}
	public Integer getAbsoluteTimeout() {
		return absoluteTimeout;
	}
	public void setAbsoluteTimeout(Integer absoluteTimeout) {
		this.absoluteTimeout = absoluteTimeout;
	}
	public String getDst() {
		return dst;
	}
	public void setDst(String dst) {
		this.dst = dst;
	}
	public String getDstGateway() {
		return dstGateway;
	}
	public void setDstGateway(String dstGateway) {
		this.dstGateway = dstGateway;
	}
	public String getDstAccessNumber() {
		return dstAccessNumber;
	}
	public void setDstAccessNumber(String dstAccessNumber) {
		this.dstAccessNumber = dstAccessNumber;
	}

	public String getUserData() {
		return userData;
	}

	public void setUserData(String userData) {
		this.userData = userData;
	}


	public Long getTenantId() {
		return tenantId;
	}

	public void setTenantId(Long tenantId) {
		this.tenantId = tenantId;
	}

    public String getDialplanExten() {
        return dialplanExten;
    }

    public void setDialplanExten(String dialplanExten) {
        this.dialplanExten = dialplanExten;
    }

    public String getSrc() {
        return src;
    }

    public void setSrc(String src) {
        this.src = src;
    }

    public String getSrcGateway() {
        return srcGateway;
    }

    public void setSrcGateway(String srcGateway) {
        this.srcGateway = srcGateway;
    }

    public String getSrcAccessNumber() {
        return srcAccessNumber;
    }

    public void setSrcAccessNumber(String srcAccessNumber) {
        this.srcAccessNumber = srcAccessNumber;
    }

}
